package com.tianlu.store.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tianlu.store.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 收件地址表(UserAddress)实体类
 *
 * @author 梁东烂
 * @since 2023-04-03 17:32:45
 */
@Data
@ApiModel(value = "收件地址表实体类", description = "收件地址表实体类")
@TableName("t_user_address")
public class UserAddress extends BaseEntity<UserAddress> {
    private static final long serialVersionUID = 874206811286488356L;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 省
     */   
    @ApiModelProperty(value = "省")
    private Long province;
    /**
     * 市
     */   
    @ApiModelProperty(value = "市")
    private Long city;
    /**
     * 区
     */   
    @ApiModelProperty(value = "区")
    private Long area;
    /**
     * 具体地址
     */   
    @ApiModelProperty(value = "具体地址")
    private String detail;
    /**
     * 收件人姓名
     */   
    @ApiModelProperty(value = "收件人姓名")
    private String name;
    /**
     * 收件人电话
     */   
    @ApiModelProperty(value = "收件人电话")
    private String phone;

    /**
     * 省
     */
    @ApiModelProperty(value = "省")
    private String provinceText;
    /**
     * 市
     */
    @ApiModelProperty(value = "市")
    private String cityText;
    /**
     * 区
     */
    @ApiModelProperty(value = "区")
    private String areaText;
}
